import Vue from 'vue'
import VueRouter from 'vue-router'
import Main from './layouts/Main'
import router from './router'
import layer from 'vue-layer'
import common from './utils/common'

initApp();
function initApp(){
	Vue.use(VueRouter);
	
	const app = new Vue({
		el: 'app',
		data: {
			currentRoute: window.location.pathname
		},
		router: router,
		render: h => h(Main),
	});
}
